const http = uni.$u.http

export const bankcard = (params = {}) => http.post('/creditcardmachine/bankcard', params); //bankcardUrl
export const banks = (params = {}) => http.post('/creditcardmachine/banks', params); //银行列表
export const bankcardAdd = (params = {}) => http.post('/creditcardmachine/bankcard/add', params); //添加银行卡
export const bankcardUpdate = (params = {}) => http.post('/creditcardmachine/bankcard/update' + '/' + params.id, params); //修改银行卡
export const bankcardDel = (params = {}) => http.post('/creditcardmachine/bankcard/delete/' + params.id, params); 